﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Entities.Content;

namespace iLangl.Customer.DNN
{
	public class IdentityManager
	{
		private const String IdentityKey = "IK";
		public static String GetCustomerIdentity(ContentItem mi)
		{
			if (mi == null)
				return String.Empty;

			return String.Format("{0}_{1}_{2}", IdentityKey, mi.TabID, mi.ModuleID);
		}

		public static ContentItem GetContent(String customerIdentityKey)
		{
			return null;
		}
	}
}